export type LoginParams = {
   mobile: string;
   code?: string;
   password?: string;
   isAgree?: boolean;
}

export type UserInfo = {
   token: string;
   refreshToken: string;
   avatar: string;
   mobile: string;
   account: string;
   id: string;
}


export type ConsultationInfo = {
   id: string
   name: string
   avatar: string
   depName: string
   positionalTitles: string
   hospitalName: string
   gradeName: string
   orderId: string
}

export type OrderInfo = {
   paidNumber: number
   receivedNumber: number
   shippedNumber: number
   finishedNumber: number
}


export type UserMessage = Omit<UserInfo, "token" | "refreshToken"> & {
   likeNumber: number
   collectionNumber: number
   score: number
   couponNumber: number
   consultationInfo: ConsultationInfo[]
   orderInfo: OrderInfo
}


export type Patient = {
   name: string
   idCard: string
   defaultFlag: number
   gender: number
   genderValue?: string
   age?: string
   id?: string
}
